package com.example.houqin_oa.dubbo;

import com.example.comment_oa.dubbo.PosServiceDubbo;
import com.example.comment_oa.pojos.rear.Pos;
import com.example.comment_oa.pojos_vo.LogisticsVo.PosVo;
import com.example.comment_oa.pojos_vo.flowableVo.taskVo;
import com.example.houqin_oa.service.PosService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;
import java.util.List;

/**
 * @Description:采购订单审批
 * @Author:陈旭良
 * @Documents_And_Settings:liang
 * @Date:2023-02-08 11:25
 * @Entry_Name:my_springcloud_project01cangku
 */
@DubboService(version = "1.0.0",protocol = "${dubbo.protocol.id}",
        application = "${dubbo.application.id}",registry = "${dubbo.registry.id}",
        timeout = 3000)
public class PosServiceDubboImpl implements PosServiceDubbo {
    @Autowired
    PosService posService;

    //修改订单审批状态
    @Override
    public boolean upPos(taskVo t){

        return posService.upPos(t);
    }

    //新增
    @Override
    public boolean AddIndent(PosVo posVo){return posService.AddIndent(posVo);}
}
